﻿<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>@ViewBag.Title</title>
    <!-- Reset Stylesheet -->
    <link rel="stylesheet" href="@Url.Content("~/Content/admin/css/reset.css")" type="text/css" media="screen" />
    <!-- Main Stylesheet -->
    <link rel="stylesheet" href="@Url.Content("~/Content/admin/css/style.css")" type="text/css" media="screen" />
    <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
    <link rel="stylesheet" href="@Url.Content("~/Content/admin/css/invalid.css")" type="text/css"
        media="screen" />
    
    <!-- jQuery  -->
    <script src="@Url.Content("~/Scripts/jquery-1.6.1.min.js")" type="text/javascript"> </script>
    <script type="text/javascript" src="@Url.Content("~/Content/admin/scripts/simpla.jquery.configuration.js")"></script>
    
    @*    <script src="../../Scripts/jQuery.tmpl.js" type="text/javascript"> </script>*@
    @(Html.Telerik().StyleSheetRegistrar()
               .DefaultGroup(group => group.DefaultPath("~/Content/2011.2.712")
                                          .Add("telerik.common.css")
                                          .Add("telerik.black.css")
                                          .Combined(true)
                                          .Compress(true)))
    @RenderSection("HeadContent", required: false)
</head>
<body>
    <div id="body-wrapper">
        <!-- Wrapper for the radial gradient background -->
        <div id="sidebar">
            <div id="sidebar-wrapper">
                <!-- Sidebar with logo and menu -->
                <h1 id="sidebar-title">
                    <a href="#">viBook Admin</a></h1>
                <!-- Logo (221px wide) -->
                <a href="#">
                    <img id="logo" src="../../Content/admin/images/logo.png" alt="viBook Admin logo" /></a>
                <!-- Sidebar Profile links -->
                <div id="profile-links">
                    Hello, @User.Identity.Name
                    <br />
                    <br />
                    @Html.ActionLink("ViBook", "Index", "Home") | @Html.ActionLink("Log Out", "LogOff", "Account")
                </div>
                <ul id="main-nav">
                    <!-- Accordion Menu -->
                    <li><a href="#" class='@(ViewBag.Menu == "Management" ? "nav-top-item current" : "nav-top-item")'>
                        <!-- Add the class "no-submenu" to menu items with no sub menu -->
                        Management </a>
                        <ul>
                            <li>@Html.ActionLink("Categories", "Categories", "Admins", null, new { @class = (ViewBag.Title == "Categories" ? "current" : "") })</li>
                            <li>@Html.ActionLink("Content Tags", "ContentTags", "Admins", null, new { @class = (ViewBag.Title == "Tags" ? "current" : "") })</li>
                            <li>@Html.ActionLink("Authors", "Authors", "Admins", null, new { @class = (ViewBag.Title == "Authors" ? "current" : "") })</li>
                            <li>@Html.ActionLink("User", "Users", "Admins", null, new { @class = (ViewBag.Title == "Users" ? "current" : "") })</li>
                        </ul>
                    </li>
                    <li><a href="#" class='@(ViewBag.Menu == "Report" ? "nav-top-item current" : "nav-top-item")'>
                        <!-- Add the class "no-submenu" to menu items with no sub menu -->
                        Report </a>
                        <ul>
                            <li>@Html.ActionLink("Report on Chapter Comments", "ChapterCommentsReport", "Admins", null, new { @class = (ViewBag.Title == "Chapter Comments Report" ? "current" : "") })</li>
                            <li>@Html.ActionLink("Report on Book Comments", "BookCommentsReport", "Admins", null, new { @class = (ViewBag.Title == "Book Comments Report" ? "current" : "") })</li>
                            <li>@Html.ActionLink("Report on Books", "BooksReport", "Admins", null, new { @class = (ViewBag.Title == "Book Report" ? "current" : "") })</li>
                            <li>@Html.ActionLink("Report on Users", "UsersReport", "Admins", null, new { @class = (ViewBag.Title == "User Report" ? "current" : "") })</li>
                        </ul>
                    </li>
                </ul>
                <!-- End #main-nav -->
            </div>
        </div>
        <!-- End #sidebar -->
        <div id="main-content">
            <!-- Main Content Section with everything -->
            <noscript>
                <!-- Show a notification if the user has disabled javascript -->
                <div class="notification error png_bg">
                    <div>
                        Javascript is disabled or is not supported by your browser. Please <a href="http://www.mozilla.com/vi/firefox/"
                            title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852"
                                title="Enable Javascript in your browser">enable</a> Javascript to navigate
                        the interface properly.
                    </div>
                </div>
            </noscript>
            <!-- Page Head -->
            <h2>
                Today is @(DateTime.Now.ToLongDateString())
            </h2>
            <p id="page-intro">
                What report would you like to view?</p>
            <ul class="shortcut-buttons-set">
                <li><a class="shortcut-button" href="@Url.Action("ChapterCommentsReport", "Admins")"><span>
                    <img src="@Url.Content("~/Content/admin/images/icons/Chapter48.png")" alt="icon" /><br />
                    Comments </span></a></li>
                <li><a class="shortcut-button" href="@Url.Action("BookCommentsReport", "Admins")"><span>
                    <img src="@Url.Content("~/Content/admin/images/icons/Comment48.png")" alt="icon" /><br />
                    Book Comments </span></a></li>
                <li><a class="shortcut-button" href="@Url.Action("BooksReport", "Admins")"><span>
                    <img src="@Url.Content("~/Content/admin/images/icons/Book48.png")" alt="icon" /><br />
                    Books </span></a></li>
                <li><a class="shortcut-button" href="@Url.Action("UsersReport", "Admins")"><span>
                    <img src="@Url.Content("~/Content/admin/images/icons/User48.png")" alt="icon" /><br />
                    Users </span></a></li>
            </ul>
            <!-- End .shortcut-buttons-set -->
            <div class="clear">
            </div>
            <!-- End .clear -->
            @RenderBody()
            <div class="content-box">
            </div>
            <!-- End .content-box -->
            <div id="footer">
                <small>
                    <!-- Remove this notice or replace it with whatever you want -->
                    &copy; Vibook 2011. All rights reserved. | Created by Vibook Team | <a href="#">Top</a>
                </small>
            </div>
            <!-- End #footer -->
        </div>
        <!-- End #main-content -->
    </div>
    @(Html.Telerik().ScriptRegistrar()
                               .DefaultGroup(group => group.Compress(true).DefaultPath("~/Scripts/2011.2.712"))
        )
</body>
</html>
